Smush\Core\Modules\Png2jpg C

Total Complexity 102
Dependencies 4
Dependents 1
Total lines 728
Lines of code 324
Logical lines of code 207
Comment lines 306
Methods 14
Properties 2

Methods 14

Method Rating Maintainability Complexity Lines of code
png_to_jpg()
B
43 16 46
convert_to_jpg()
A
41 15 51
can_be_converted()
A
48 15 31
is_transparent()
A
45 14 40
update_image_path()
A
43 13 46
update_image_url()
S
47 6 36
get_quality()
S
58 6 15
replace_file()
S
54 4 21
is_converted()
S
60 4 14
should_resmush()
S
71 3 6
supports_imagick()
S
71 2 6
supports_gd()
S
71 2 6
init()
S
91 1 2
cache_can_be_converted_status()
S
75 1 4